package cn.kgc.springboot.controller;

import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: mosin
 * @version: v1.0  2022/11/10
 */
@RestController
@RequestMapping("teacher")
//@CrossOrigin
public class TeacherController {

    @GetMapping
    public Object all(){
        return  "ok";
    }
}
